package com.swlz.dto;

public class Search {

	/**
	 * 需要排序的字段名
	 */
	private String sortName;
	
	/**
	 * 排序方式：asc | desc
	 */
	private String sortOrder;
	
	/**
	 * 每页最大数
	 */
	private Integer pageSize=8;
	
	/**
	 * 页码
	 */
	private Integer pageNumber=1;
	
	/**
	 * 模糊搜索的条件
	 */
	private String key;
	

	public String getSortName() {
		return sortName;
	}

	public void setSortName(String sortName) {
		this.sortName = sortName;
	}

	public String getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(String sortOrder) {
		this.sortOrder = sortOrder;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(Integer pageNumber) {
		this.pageNumber = pageNumber;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}
	
}
